import config from "@/utils/config.js"

//会话检查：检查身份是否有效
const checkIndentityState = async (openid, token) => {
	let url = config.baseUrl + "wx/user/check";
	let param = {
		openid: openid,
		token: token
	}
	let res = await config.getData(url, param);
	return res;
}

export default {
	checkIndentityState
}